package com.parktech.sun.domain.service.specialtopic;

import com.parktech.sun.domain.model.specialtopic.SpecialTopic;
import com.parktech.sun.domain.model.specialtopic.SpecialTopicCategory;
import com.parktech.sun.domain.repository.Page;
import com.parktech.sun.domain.service.BaseService;

/**
 * User: Think
 * Date: 11-1-12
 * Time: 下午7:56
 */
public interface SpecialTopicService extends BaseService<SpecialTopic> {

    SpecialTopicCategory getByCategoryId(Long specialTopicCategoryId);

    Page searchCategory(String title, Page page);

    void saveOrUpdateCategory(SpecialTopicCategory specialTopicCategory);

    Page search(String title, Long category, Integer publishStatus, Page page);
}
